<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">
	<title>欢迎使用发源地云采集系统</title>
	<meta name="viewport" content="width=device-width, initial-scale=1.0">
	<meta name="description" content="">
	<meta name="author" content="">
	<link rel="shortcut icon" href="__ROOT__/favicon.ico" type="image/x-icon">
	<link type="text/css" rel="stylesheet" href="__STATIC__/assets/css/bootstrap.min.css">
	<link type="text/css" rel="stylesheet" href="__STATIC__/assets/css/font-awesome.min.css">
	<link type="text/css" rel="stylesheet" href="__STATIC__/assets/css/ace.min.css"/>
	<link type="text/css" rel="stylesheet" href="__STATIC__/assets/css/base.css"/>
	<script type="text/javascript" src="__STATIC__/assets/js/jquery-1.10.2.min.js"></script>
</head>

<body style="background:  rgb(230, 234, 234)">
<div class="container">
	<div class="margin" style="margin: 60px 90px 80px;">
		<div class="text-center margin-top">
			<h1>图片上传</h1>
		</div>
		<div class="margin-top text-center" style="font-size: 18px; margin: 60px 90px 80px;">
			<form enctype="multipart/form-data" action="{:url('index/upload')}" method="post">
				<?php if($img_url!=''):?>
				<img src="{$img_url}"  border="1">
				<?php else:?>
				<img src="__STATIC__/assets/images/no.jpg" width="400" height="300"  border="1">
				<?php endif;?>
				<br><br>
				<input type="file" name="uploadImg" size="35">
				<br><br>
				<input type="submit"  value="上传您的图片" class="btn btn-primary">
			</form>

		</div>
	</div>
</div>
</body>
</html>